]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
main: Add prototype for _shell_link_to_shell_js()
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 18 May 2012 23:49:35 +0000 (01:49 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Sat, 19 May 2012 00:41:07 +0000 (02:41 +0200)
It's pointless to have a prototype for a dummy function, but at
least on F17, gcc's -Werror includes -Wmissing-prototypes ...

https://bugzilla.gnome.org/show_bug.cgi?id=676347

src/main.c

index fbd13771ab0cb5fd008a3060dae3b952c89549f8..5b8bf818cc3fea74612acc5dcd65ee665f58bcd6 100644 (file)
@@ -350,6 +350,7 @@ main (int argc, char **argv)
    This function is never actually called.
    https://bugzilla.gnome.org/show_bug.cgi?id=670477
 */
+void _shell_link_to_shell_js (void);
 
 void
 _shell_link_to_shell_js (void)